home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 November: Tool Chest / Dev.CD Nov 00 TC Disk 1.toast / Sample Code / Archive / Graphics / QuickDraw GX / GX->PostScript Sample / GXToPostScript / PrintingLibraries / ShapeUtilities.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-09-28  |  885 b   |  31 lines  |  [TEXT/MPS ]

  1.  
  2. /*
  3.      File:        ShapeUtilities.h
  4.  
  5.      Contains:    QuickDraw GX to PostScript conversion code.
  6.                      This file contains all of the public data structures, constants,
  7.                     and function declarations for the Shape Utilities Handler.
  8.  
  9.      Version:    Technology:    Quickdraw GX 1.1.x
  10.       
  11.      Copyright:    © 1995-1997 by Apple Computer, Inc., all rights reserved.
  12. */
  13.  
  14. #ifndef _SHAPEUTILS_
  15. #define _SHAPEUTILS_
  16.  
  17. #include <GXEnvironment.h>
  18.  
  19. /**********************/
  20. /* Segment Dispatches */
  21. /**********************/
  22.  
  23. OSErr ShUDissectGlyphs(gxShape theShape, Boolean splitByStyle);
  24. OSErr ShUDissectPath(gxShape theShape, long limit, Boolean splitH, OSErr (*countFunct)(gxShape aShape, long contour, long *numPoints));
  25.  
  26. OSErr QGXTranslateQuickDrawPict(gxShape source, gxShapeSpoolUPP userFunction,  long refCon, gxTranslationStatistic *stats);
  27.  
  28. OSErr TextToUnhintedPath(gxShape target);
  29.  
  30. #endif // _SHAPEUTILS_
  31.